package com.yuju.order.dao.mapper;

import com.yuju.order.dao.entity.RoomOrder;
import com.yuju.order.model.RoomOrderModel;
import com.yuju.persist.base.mapper.BaseMapper;
import java.util.List;
import java.util.Map;

public interface RoomOrderMapper extends BaseMapper<RoomOrder, String> {
	  int deleteByPrimaryKey(String id);

	    int selectCountByMap(Map<Object, Object> map);

	    List<RoomOrder> selectListByMap(Map<Object, Object> map);

	    int insert(RoomOrder record);

	    int insertSelective(RoomOrder record);

	    RoomOrder selectByPrimaryKey(String id);

	    int updateByPrimaryKeySelective(RoomOrder record);

	    int updateByPrimaryKey(RoomOrder record);

		void updateCheckoutDate();

		List<RoomOrderModel> dueOut(Map<Object, Object> map);
}